package com.duan.laugh.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.duan.laugh.common.core.util.R;
import com.duan.laugh.mp.api.pojo.entity.MpFansMsgRes;
import com.duan.laugh.msg.api.pojo.entity.MsgSend;

/**
 * 微信消息回复业务
 *
 * @author duanjw
 */
public interface IMpFansMsgResService extends IService<MpFansMsgRes> {

    /**
     * 保存并发送回复
     *
     * @param wxFansMsgRes
     * @return
     */
    R saveAndSend(MpFansMsgRes wxFansMsgRes);

    /**
     * 消息中心给粉丝推送模版消息
     *
     * @param msgSend
     */
    void sendWxCustomerTemplateMsg(MsgSend msgSend);
}
